package com.tarena.lbs.coupon.pojo.query;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class UserCouponCodeQuery implements Serializable {

    @Schema(description = "用户ID")
    private Integer userId;

    @NotNull(message = "优惠券券码不能为空")
    @Schema(description = "优惠券券码")
    private String couponCode;
}
